package com.chenliang.local.biz;

import com.chenliang.local.po.User;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: long_invoke
 * @description:
 * @author: liangchen23
 * @create: 2022-03-15 16:41
 */
@RestController
@RequestMapping("/user")
public class UserBiz {


    @PostMapping("/get")
    public User getUser(String id) {
        return User.builder().id(id).name("陈亮").build();
    }
}
